package com.decent.ejfadmin.auth;

import javax.servlet.http.HttpServletResponse;

/**
 * describe:
 *
 * @author tangdl
 * @date 2018/08/29
 */
public class SysContent {
    private static ThreadLocal<HttpServletResponse> responseLocal = new ThreadLocal<>();

    public static HttpServletResponse getResponse() {
        return (HttpServletResponse) responseLocal.get();
    }

    public static void setResponse(HttpServletResponse response) {
        responseLocal.set(response);
    }
}
